package com.guangyunl.j_innerclass;

public class Test03 {
    public static void main(String[] args) {
        Person person = new Person();
        method01(person);
        System.out.println("===================");
        Person person01 = method02();  //Person person01 = new Person();
        person01.eat();
    }

    public static void method01(Person person){
        person.eat();
    }

    public static Person method02(){
        return new Person();
    }

}
/*
人要干饭
===================
人要干饭
 */